package com.hl.service;

import com.hl.mapper.ChangePasswordMapper;
import com.hl.mapper.CourseJianJieMapper;
import com.hl.pojo.Courses;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseJianJieServiceImpl implements CourseJianJieService{
    @Autowired
    private CourseJianJieMapper courseJianJieMapper;
    @Override
    public List<Courses> SelectCourseJianJie(Integer courseId){
        return courseJianJieMapper.CourseJianJie(courseId);
    }

    @Override
    public List<Courses> SelectCourseJianJieVue() {return courseJianJieMapper.CourseJianJieVue();}

    @Override
    public int CourseJianJieDelete(Integer id){return courseJianJieMapper.CourseJianJieDelete(id);}

    @Override
    public int CourseJianJieAdd(Courses courses) {return courseJianJieMapper.CourseJianjieAdd(courses);}

    @Override
    public int CourseJianJieUpdate(Courses courses) {return courseJianJieMapper.CourseJianJieUpdate(courses);}

    @Override
    public List<Courses> CourseJianJieSearch(String courseName) {return courseJianJieMapper.CourseJianJieSearch(courseName);}
}
